Understanding Logon Sessions

Each adTempus job runs under the identity of a Windows user. To accomplish this, adTempus either creates a new logon session for the user or attaches to an existing logon session.

Logon sessions can be interactive or non-interactive.

Though visibility of programs to users is the main difference between interactive and non-interactive sessions, there are other differences in how these sessions behave, and how programs run within them behave.

Most programs that you automate are designed to support unattended execution, and can run without needing a user interface or interaction with the user. For these programs a non-interactive session (the default in adTempus is suitable.

However, some programs were not intended to be run this way, and may present problems when run non-interactively:

While adTempus is able to log in on behalf of a user to create non-interactive logon sessions, Windows does not provide a direct way for adTempus to create an interactive logon session. adTempus is, however, able to "attach" to an existing interactive logon session and run programs in it. Therefore adTempus has always supported running jobs in interactive logon sessions as long as the logon session already existed. This required that a user log in to the computer (directly or through Remote Desktop) and then leave the session connected so that adTempus could connect to it.

Automatic Interactive Sessions Using Remote Desktop5.1

Beginning with version 5.1, adTempus can create interactive sessions automatically using Remote Desktop. It does this by creating a Remote Desktop connection from the computer running adTempus to the same computer.

To use this feature the program where adTempus is running must be configured as follows:

Once these prerequisites are met, you can enable enable automatic interactive sessions as follows:

Note that when this feature is enabled, it applies to all jobs using the "Interactive required" setting; it is not currently possible to use automatic interactive sessions for only some jobs or users.